<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="EditRegion.MVC"%>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Basic Usage
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Basic Usage</h2>
    <h3>Code</h3>
    <p>
        &lt%= Html.EditRegion(\"HomePageDescription\").EditableForUser(\"Administrator\") %&gt
    </p>
    <h3>Sample</h3>
    <% Html.RenderPartial("AuthorizationSuggestion"); %>
    <p>
        <%= Html.EditRegion("HomePageDescription").EditableForUser("Administrator")  %>
    </p>
</asp:Content>

